package com.wcf.service.impl;

import com.wcf.dao.UserDao;
import com.wcf.model.User;
import com.wcf.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by hadoop on 2016/1/9.
 */
@Service("Userservice")
public class Userservice implements IUserService {
    @Resource
    private UserDao userDao;

    @Override
    public List<User> findAllUser() {
        return userDao.findAllUser();
    }
}
